package User;

import java.util.Scanner;

public class NomalUser extends User{
    Scanner scanner = new Scanner(System.in);
    public NomalUser(String name, int userID) {
        super(name, userID);
    }
    public void borrowBook(String bookName) {
        System.out.println("普通⽤⼾ " + name + " 借阅了 " + bookName);
    }
    @Override

    public int display() {
        System.out.println("普通⽤⼾ " + name + " 的操作菜单:");
        System.out.println("1. 查找图书");
        System.out.println("2. 打印所有的图书");
        System.out.println("3. 退出系统");
        System.out.println("4. 借阅图书");
        System.out.println("5. 归还图书");
        System.out.println("6. 查看当前个⼈借阅情况");
        System.out.println("请选择你的操作：");
        //Scanner scanner;
        return scanner.nextInt();
    }
}
